package com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.work;

import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.work.dto.BusinessEmployeeWorkExperienceListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.work.param.BusinessEmployeeWorkExperienceCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.work.param.BusinessEmployeeWorkExperienceDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.work.param.BusinessEmployeeWorkExperienceListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.work.param.BusinessEmployeeWorkExperienceUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessEmployeeWorkExperienceCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/employee/work/experience/fallback")
public class BusinessEmployeeWorkExperienceCloudServiceFallback implements BusinessEmployeeWorkExperienceCloudService {

    @Override
    public BusinessEmployeeWorkExperienceListCloudDto list(BusinessEmployeeWorkExperienceListCloudParam param) {
        return new BusinessEmployeeWorkExperienceListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessEmployeeWorkExperienceCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessEmployeeWorkExperienceUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessEmployeeWorkExperienceDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
